Release 10.1A: OpenEdge Data Management:
SQL Reference


REPEAT

Returns a character string composed of string_exp repeated count times.

Syntax

REPEAT ( string_exp , count ) 

Example

The following example shows how to use the REPEAT function:

SELECT REPEAT(fld1,3) FROM test100WHERE fld1 = 'Afghanistan'; 
  
REPEAT(FLD1,3)  
----------------- 
AfghanistanAfghanistanAfghanistan 
  
1 record selected 

Notes

Compatibility

ODBC compatible


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095